<?php

class PageCompositionView{
	public function BuildPage ($button, $a_menu, $a_xhtml){ //$a_menu, $a_introTextHeader, $a_introText
		$body = "
		$button
			<div id='wrapper'>
			
				<h1 id='logo'><a href='index.php'>Student | Kalmar</a></h1>
    			$a_menu
    			<div id='content'>
            		
            		$a_xhtml 
            	<div class='clearfix'></div>
	        	</div>	
	    		
	        	<div id='footer'>
		            <span class='floatRight'>©Elin Nilsson 2011</span>
		            <div class='clearBoth'></div>
	        	</div>
    		</div>
    		
			<script type='text/javascript' src='javascript/project.js' >
    		</script>
		";

	return $body;
	}
}